﻿namespace RestAPI
{
    /// <summary>
    /// 普通外呼IVR
    /// </summary>
    public class WebCallIvr : RestAPIModelBase
    {
        /// <summary>
        /// 普通外呼IVR
        /// </summary>
        /// <param name="companyid">企业编号</param>
        /// <param name="callflowid">呼叫流水号</param>
        /// <param name="calling">先呼号码</param>
        /// <param name="ivrid">IvrID</param>
        /// <param name="callback">呼叫结果回调地址</param>
        /// <param name="voice_text">在接通后放音的文本内容再播放IVR的语音，可以不要此字段</param>
        public WebCallIvr(string companyid, string callflowid, string calling, string ivrid, string callback, string voice_text)
        {
            Companyid = companyid;
            CallFlowid = callflowid;
            Calling = calling;
            Ivrid = ivrid;
            Callback = callback;
            Voice_text = voice_text;
        }
    }
}
